package com.longrise.android.byjk.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by callxkj on 2017/2/24.
 * 首页主recycleview多种样式的item
 */

public class HomeMultipleItem implements MultiItemEntity{
    public static final int TYPE1 = 1; //新手专区
    public static final int TYPE2 = 2; //保险头条 图片底部有文字
    public static final int TYPE3 = 3; //横排有一个图片的样式 (一个区域)
    public static final int TYPE4 = 4; //横排两个下面一个一共三个图片的样式 (三个区域)
    public static final int TYPE5 = 5; //五个图片的样式 (五个区域)

    public static final int TYPE2_1 = 21;//用于type2是否显示加载更多的判断
    private final int itemType;

    public HomeMultipleItem(int itemType){
        this.itemType = itemType;

    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
